<!DOCTYPE html>
<!-- saved from url=(0040)https://m.zfii.cn/index/login/index.html -->
<html>
    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link rel="stylesheet" href="__STATIC__/main/css/login/new-index.css" />
        <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
        <script src="__STATIC__/js/login/lib/layui/layui.js" charset="utf-8"></script>
        <title>系统管理后台</title>
        <style>
          .login_form{margin-top: 65px;} .login_rightdiv{ padding:100px 94px 116px 116px; } .forget_psw{ text-align: right; color: #4385ff; margin-top: 5px; } .forget_psw span{cursor: pointer;} .login_submit{ margin-top: 70px; margin-bottom: 20px; cursor: pointer; } .register{ text-align: center; } .register a{ display: inline-block; font-size: 14px; color: #4385ff; margin: 0 auto; border-bottom: 1px solid #4385ff; height: 20px; } .reset_psw{ display: none; width: 100%; height: 100%; position: fixed; left: 0; top: 0; background-color: rgba(0,0,0,0.5); z-index: 9000; } .reset_box{ position: absolute; margin: auto; left: 0; top: 300px; right: 0; bottom: 0; width: 626px; overflow: hidden; border-radius: 10px; } .reset_head{ padding: 0 30px; background: #6D7187; height: 60px; font-size: 20px; color: #fff; font-weight: 700; line-height: 60px; position: relative; } .reset_head img{ right: 22px; position: absolute; top: 24px; display: block; } .reset_content{ background: #fff; padding: 30px; font-size: 24px; }
          button[disabled] {
              pointer-events: none;
              cursor: not-allowed;
              filter: alpha(opacity=65);
              -webkit-box-shadow: none;
              box-shadow: none;
              opacity: .65;    
        }
      </style>
    </head>
    
    <body>
        <div class="login_bg layui-canvs" style="background-image: url(&quot;/image/login_bg.png&quot;); height: 913px;">
            <div class="login_div">
                <div class="login_leftdiv" style="background-image: url(__STATIC__/main/img/login_leftbg.png);">
                    <div style="color:#fff;font-size:26px;line-height:52px;margin-top:65px;">科妍美妆管理后台</div>
                    <div style="color:#fff;font-size:18px;line-height:40px;">落地社交电商、新零售、新模式</div></div>
                <div class="login_rightdiv">
                    <div class="login_title">欢迎登陆</div>
                    <form class="login_form"  id="login-form"  method="post">
                        <div class="login_user hbj">
                            <img src="__STATIC__/main/img/admin.png" />
                            <input class="login_input flex1" type="text" name="User[user_name]" lay-verify="required" id="username" value="" placeholder="请输入账号" /></div>
                        <div class="login_user hbj" style="margin-bottom: 0">
                            <img src="__STATIC__/main/img/password.png" />
                            <input class="login_input flex1" type="password" name="User[password]" lay-verify="required" id="password" value="" placeholder="请输入密码" /></div>
                       <!--  <div class="forget_psw">
                            <span onclick="showTip()">忘记密码？</span></div> -->
                        <!-- <input class="login_submit" type="submit" value="登录" /> -->
                        <button id="btn-submit" class="login_submit"  type="submit">
                        登录
                        </button>
                        <!-- <div class="register">
                            <a href="https://m.zfii.cn/index/register/index.html">暂无账号，立即注册</a></div> -->
                    </form>
                </div>
            </div>
        </div>
    </body>
    <script type="text/javascript" src="__STATIC__/js/login/jparticle.jquery.js"></script>
    <script type="text/javascript" src="__STATIC__/js/login/login.js"></script>

    <script>
    $(".layui-canvs").jParticle({
        background: "url(__STATIC__/main/img/bg.jpg) center center / cover no-repeat",
        color: "#fff"
    });
    </script>
    <script src="__STATIC__/js/jquery/jquery.form.min.js"></script>
    <script>
        layui.use('layer', function(){
          var layer = layui.layer;
              // 表单提交
            var $form = $('#login-form');
            $form.submit(function () {
                var $btn_submit = $('#btn-submit');

                if ($('#username').val() == '' || $('#password').val() == '') {
                  layer.msg('用户名或密码不能为空.', {time: 1500, icon: 5});
                  return false;
                }
                $btn_submit.attr("disabled", true);
                $form.ajaxSubmit({
                    type: "post",
                    dataType: "json",
                    success: function (result) {
                        $btn_submit.attr('disabled', false);
                        if (result.code === 1) {
                            layer.msg(result.msg, {time: 1500, anim: 1}, function () {
                                window.location = result.url;
                            });
                            return true;
                        }
                        layer.msg(result.msg, {time: 1500, icon: 5});
                    }
                });
                return false;
            });
        }); 
    </script>
</html>